home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 89 / PIWD89.iso / pc / CONTENTS / BONUS / FULL / wikiwriter / setup-ww2x.exe / {app} / htmltut / Add+a+Heading.db next >
Encoding:
Text File  |  2002-07-01  |  781 b   |  27 lines

  1. @@inc HTMLToc
  2.  
  3. == Add a heading
  4.  
  5.  
  6.  
  7. At the top of your page, you should now have
  8.  
  9.  
  10.  
  11. <pre>
  12.  
  13.    <html>
  14.  
  15.    <head>
  16.  
  17.    <title>Home Page - My First Web</title>
  18.  
  19.    </head>
  20.  
  21.    <body>
  22.  
  23.    <p>This is one paragraph.</p>
  24.  
  25.    </body>
  26.  
  27.    </html>
  28.  
  29. </pre>
  30.  
  31.  
  32.  
  33. Headings on a Web page are like the chapter and section headings in a book. They label the sections of a page, and provide a quick guide to the contents.
  34.  
  35.  
  36.  
  37. HTML offers six levels of headings, named (reasonably enough) h1, h2, h3, h4, h5, and h6. In your editor, between the </body> tag and the <p> tag, create a level 1 heading element (make "h1" into a start tag and an end tag) containing the text:
  38.  
  39.  
  40.  
  41. <pre>
  42.  
  43.    This is Heading One
  44.  
  45. </pre>
  46.  
  47.  
  48.  
  49. [[b Go to ((More Headings))]]
  50.  
  51.  
  52.